<%@ Page Language="C#" AutoEventWireup="true" Codebehind="AjaxContactsEventBroker.aspx.cs"
	Inherits="AjaxContactsEventBroker" Title="AjaxContacts" MasterPageFile="~/Shared/Default.master"
	EnableEventValidation="true" %>

<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register TagPrefix="contacts" TagName="ContactDetails" Src="ContactDetails.ascx" %>
<%@ Register TagPrefix="contacts" TagName="ContactList" Src="ContactList.ascx" %>
<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" runat="Server">
	<asp:ScriptManager ID="ScriptManager1" runat="server">
	</asp:ScriptManager>
	<h1>
		Your current contacts</h1>
	<p>
		List Control:</p>
	<table border="1" width="100%" cellpadding="20" cellspacing="5">
		<tr>
			<td>
				<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
					<ContentTemplate>
						<contacts:ContactList ID="contactList" runat="server" />
					</ContentTemplate>
				</asp:UpdatePanel>
			</td>
		</tr>
	</table>
	<br />
	<p>
		Detail Control:</p>
	<table border="1" width="100%" cellpadding="20" cellspacing="5">
		<tr>
			<td>
				<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
					<ContentTemplate>
						<contacts:ContactDetails ID="ContactDetails" runat="server" />
					</ContentTemplate>
				</asp:UpdatePanel>
			</td>
		</tr>
	</table>
</asp:Content>
